package com.vegetable.modules.entity.outbound;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.vegetable.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SalesOutCarryOn对象", description="销售出库带货")
public class SalesOutCarryOn extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long salesOutId;
    private String shipper;
    private String commodityName;
    private Double number;
    private Double weight;
    private BigDecimal unitPrice;
    private BigDecimal totalPrice;
}
